<template>
  <div class="layout_page_wrapper home_page_warpper">
    <Main :dataAlarm="dataList" />
    <HomePanel />
  </div>
</template>

<script setup>
import Main from '@/base-ui/three3d/Main.vue';
import HomePanel from './components/home-panel.vue';

import { getReserveStatistics } from './api/homeApi';
const dataList = ref([]);
setTimeout(() => {
  dataList.value = [
    {
      adcode: '130100',
      name: '石家庄市',
      kqs: '2',
      drj: '21'
    },
    {
      adcode: '131100',
      name: '衡水市',
      kqs: '0',
      drj: '10'
    },
    {
      adcode: '131000',
      name: '廊坊市',
      kqs: '6',
      drj: '84'
    },
    {
      adcode: '130400',
      name: '邯郸市',
      kqs: '5',
      drj: '61'
    },
    {
      adcode: '139900',
      name: '雄安新区',
      kqs: '2',
      drj: '113'
    },
    {
      adcode: '130500',
      name: '邢台市',
      kqs: '0',
      drj: '156'
    },
    {
      adcode: '130200',
      name: '唐山市',
      kqs: '0',
      drj: '1'
    },
    {
      adcode: '130300',
      name: '秦皇岛市',
      kqs: '3',
      drj: '10'
    },
    {
      adcode: '130800',
      name: '承德市',
      kqs: '11',
      drj: '19'
    },
    {
      adcode: '130900',
      name: '沧州市',
      kqs: '0',
      drj: '230'
    },
    {
      adcode: '130600',
      name: '保定市',
      kqs: '3',
      drj: '164'
    },
    {
      adcode: '130700',
      name: '张家口市',
      kqs: '1',
      drj: '7'
    }
  ];
}, 1000);

onMounted(() => {
  getReserveStatistics().then(res => {
    console.log(111);
  });
});

provide('homeView', {});
</script>
